package com.ckr.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Shadowckr
 * @create 2022-02-12 11:14
 */

@Data
@Component
@ConfigurationProperties(prefix = "file.upload")
public class PhotosConfig {
    private List<String> allowTypes;
}
